#pragma once
#include <cstdint>
#include <vector>
#include <string>
#include <iostream>

using namespace std;

class Book {
public:
	Book();
	~Book();

    Book SearchBook(int64_t clientId);
    //查询当前用户所有订单
    vector<Book> SearchAllBook();



    // Getter和Setter函数声明
    unsigned int getBookingId() const;
    void setBookingId(unsigned int id);

    int64_t getClientId() const;
    void setClientId(int64_t id);

    unsigned int getTripId() const;
    void setTripId(unsigned int id);

    long long getBookTime() const;
    void setBookTime(long long time);

    long long getRefundTime() const;
    void setRefundTime(long long time);

    string getParseBookTime() const;
    void setParseBookTime(string time);

    string getParseRefundTime() const;
    void setParseRefundTime(string time);


private:
	unsigned int bookingId;
	int64_t clientId;
	unsigned int tripId;
	long long bookTime;
	long long refundTime;
    string ParseBookTime;
    string ParseRefundTime;
};